package com.itheima.day07;
/*
案例2:  手机类
 */

public class Phone02 {

    String brand;
    double price;

    public void  call(String name){
        System.out.println("用"+price+"元的"+brand+"和"+name+"煲电话粥..");
    }

    public void sendMessage(){
        System.out.println("用"+price+"元的"+brand+"聊天ing..");
    }

}
